const { extend } = require("@vue/shared");

 class Student{
    constructor(name){
        this.name = name;
    }
}

class NewStudent extends Student{
    
    constructor(Myname,name)
    {
        super(name)
        this.Myname=Myname
    }
}

const stu = new NewStudent("Lihua","yuanjiayi")
console.log(stu)